package xgo

import "fmt"

func IfElse(condition bool, trueVal interface{}, falseVal interface{}) interface{} {
	if condition == true {
		return trueVal
	} else {
		return falseVal
	}
}

func x(v interface{}) {
	return
}

type T interface{}

type XMap map[string]interface{}

//type TS struct {
//	TT
//}

func (this *XMap) Set(key string, val interface{}) *XMap {
	//aa := &TT{}
	//fmt.Println(aa)
	return this
}

func test() {
	aa := XMap{}
	aa.Set("aaa", "ccc")

	fmt.Println(aa["aaa"])
}
